<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app" >
        <div v-cloak>{{name}}</div>
        <div v-once>初始访问量：{{num}}</div>
        <div>当前访问量：{{num}}</div>
        <button @click="num++">增加访问量</button>
    </div>
    
</body>
    <script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
    <script>
        new Vue({
            el:"#app",
            data:{
                name:"dsds",
                num:0
            }
        });
    </script>
</html>